package com.xiang.mall.platform.uc

import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cache.annotation.EnableCaching
import org.springframework.cloud.client.discovery.EnableDiscoveryClient
import org.springframework.cloud.netflix.hystrix.EnableHystrix
import org.springframework.context.annotation.ComponentScan

/**
 * @author xiangliyou
 * @email xiangliyou1814@mail.yneusoft.com
 * @date 2019-03-06 17:25
 *
 */
@SpringBootApplication
@ComponentScan(basePackages = ["com.xiang.mall"])
@EnableDiscoveryClient
@EnableCaching
class UCApplication

fun main(args: Array<String>) {
    runApplication<UCApplication>(*args)
}
